<?php
namespace Api\Renderer\Template;

/**
 * Class File
 * @package Api\Renderer\Template
 */
class File
{
    protected $path;
    protected $data = array();

    /**
     * @param $path
     * @param array $data
     */
    public function __construct($path, array $data = array())
    {
        $this->path = $path;
        $this->data = $data;
    }

    /**
     * @return mixed
     */
    public function getPath()
    {
        return $this->path;
    }

    /**
     * @return array
     */
    public function getData()
    {
        return $this->data;
    }
}